package com.fs.sys.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.Fastjson2TypeHandler;
import com.fs.common.base.domain.entity.BaseEntity;
import lombok.Data;

import java.util.Map;

@Data
@TableName(value = "sys_menu", autoResultMap = true)
public class MenuEntity extends BaseEntity {
    private String appId;
    private String icon;

    private String name;

    private String path;

    private String cmp;

    private Boolean hide;

    private String parentId;

    private Integer sort;

    @TableField(typeHandler = Fastjson2TypeHandler.class)
    private Map<String, Object> metadata;
}
